package com.lingxu.api.ztb.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lingxu.api.ztb.model.ZtbProject;
import com.lingxu.api.ztb.model.vo.ZTBProjectInfo;
import com.lingxu.api.ztb.model.vo.ZtbBiddingnoticeVO;
import com.lingxu.api.ztb.model.vo.ZtbParagraphVO;
import com.lingxu.api.ztb.model.vo.ZtbProjectVO;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;

import javax.servlet.http.HttpServletResponse;

import java.util.Set;
import java.util.List;

/**
 * 项目信息表 前端控制器
 *
 * @author admin
 * @since 2025-07-18
 */
public interface IZtbProjectService extends IService<ZtbProject> {

        /**
         * 分页
         *
         * @param query
         * @return
         */
        IPage<ZtbProjectVO> queryPageList(ZtbProjectVO query);

        /**
         * 列表
         *
         * @param query
         * @return
         */
        List<ZtbProjectVO> list(ZtbProjectVO query);

        /**
         * 删除
         *
         * @param ids
         */
        void delete(Set<String> ids);

    /**
     *
     *
     * @param projectName
     * @return {@link String }
     *///根据项目名称查询项目编号
        String getZtbProjectIdByProjectName(String projectName);

    IPage<ZTBProjectInfo> getZtbProjectIdByProjectNameNew(Page<ZTBProjectInfo> page, ZtbParagraphVO query);
}
